<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="EHS,ehs法律,EHS中国,EHS供求,EHS培训">
    <title>{$title}</title>
    <link href="__ROOT__/Public/Css/ehs.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="__ROOT__/Public/Css/dtree.css" rel="stylesheet" type="text/css" media="screen" />
    <script type="text/javascript" src="__ROOT__/Public/Js/jquery-1.5.0.min.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Js/core.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Js/dtree.js"></script>
    <script  type="text/javascript">
    </script>
  </head>
  <body>
    <div id="container">
      <layout name="Public:header" cache="0" />
      <div id="breakcrump"><div class="search-reslut">所有目录共找到结果 <span style="color:red">{$count}</span> 条法律数据</div>你所在位置： <a href="/index.html" title=""> 首页 </a> ><a href="/main/public.php/law" title="">法规首页</a> > 搜索结果 </div>
      <div id="mainbody-index">
        <!--     <div class="mode-search" style="width:960px;">
               <div class="mode-search-title">
                 <h2>高级搜索</h2>
               </div>
               <div class="mode-search-cont fliter">
                 <table>
                   <tr>
                     <td>请选择查找类型: </td>
                     <td>
                       <span><a href="" title="" class="btn-big">行业</a></span>
                       <span><a href="" title="" class="btn-big">专业</a></span>
                       <span><a href="" title="" class="btn-big">地区</a></span>

                     </td>
                   </tr>
                 </table>
                 <table>
                   <tr>
                     <td>在</td>
                     <td><strong>标题</strong></td>
                     <td>中检索 <input type="text" name="" class="txt-input"/></td>
                   </tr>
                   <tr>
                     <td><select name="cotype"><option selected="" value="99">--并且--</option></select>
                     </td>
                     <td><strong>全文</strong></td>
                     <td>中检索 <input type="text" name=""  class="txt-input"/></td>
                   </tr>
                   <tr>
                     <td><select name="cotype"><option selected="" value="99">--并且--</option></select></td>
                     <td><strong>颁布单位</strong></td>
                     <td>中检索 <input type="text" name=""  class="txt-input"/></td>
                   </tr>
                   <tr>
                     <td><select name="cotype"><option selected="" value="99">--并且--</option></select></td>
                     <td><strong>文号</strong></td>
                     <td>中检索 <input type="text" name="" class="txt-input"/></td>
                   </tr>


                   <tr>
                     <td colspan="3">你选择的条件: <a href="" title="">法规</a> + <a href="" title="">广州</a></td>
                   </tr>

                   <tr>
                     <td colspan="3"> <input type="button" value="检索" onclick="" class="btn-big2">  <input type="button" value="清除" onclick="" class="btn-big2"></td>
                           </tr>
                           </table>

                           </div>
                           </div>-->

        <div class="row">

          <!--             <div class="search-result">
                         <p>南阳 + 近一天 + 本科</p>
                       </div> -->

          <div class="search-re-side">
            <div id="divLeft" class="mode-re">
            </div>
          </div>


          <div class="search-re-cont">
            <!--        <div class="search-re-filter">
                      <table>
                        <tr>
                          <td><span><input type="checkbox" name=""/>全选</span> &nbsp; <span><a href="" title="">显示选中职位</a></span> &nbsp; <span><a href="" title="">申请选中职位</a></span> &nbsp; <span><a href="" title="">放入职位收藏夹</a></span> &nbsp; </td>
                          <td>排序： <a href="" title="">按时间排序</a> <a href="" title="">按相关排序</a> &nbsp; 查看：</td>
                          <td> <span><a href="" title="">上一页</a></span> &nbsp; <span>1-30 / 367</span> &nbsp; <span><a href="" title="">下一页</a></span></td>
                        </tr>
                      </table>
                    </div> -->
            <div class="search-re-list">
              <table>
                <thead>
                  <tr>
                    <td colspan="2" style="font-size:12px">结果显示</td>
                  </tr>
                </thead>
                <tbody>
                  <volist name="resultList" id="rl" key="i">
                    <tr <if condition="$i%2 eq 0">style="background-color:#fbfdf6"</if>>
                      <td style="width:5px" align="center">{$i}</td>
                      <td ><a href="http://www.ehs.cn/law-detail.php?id={$rl.id}" >{$rl.title}</a>
                        &nbsp;&nbsp;({$rl.issue}   {:date('Y/m/d',strtotime($rl['date_pub']))})</td>
                    </tr>
                  </volist>
                </tbody>
              </table>
            </div>

            <!--               <div class="search-re-filter">
                             <table>
                               <tr>
                                 <td><span><input type="checkbox" name=""/>全选</span> &nbsp; <span><a href="" title="">显示选中职位</a></span> &nbsp; <span><a href="" title="">申请选中职位</a></span> &nbsp; <span><a href="" title="">放入职位收藏夹</a></span> &nbsp; </td>
                                 <td>排序： <a href="" title="">按时间排序</a> <a href="" title="">按相关排序</a> &nbsp; 查看：</td>
                                 <td> <span><a href="" title="">上一页</a></span> &nbsp; <span>1-30 / 367</span> &nbsp; <span><a href="" title="">下一页</a></span></td>
                               </tr>
                             </table>
                           </div> -->
            <div class="default_page">{$page}</div>
          </div>
        </div>
      </div>
      <layout name="Public:footer" cache="0" />

    </div>
    <script type="text/javascript">
      var lawType = {$lawType},hzr = {$hzrList},treeCookie = {$treeCookie};
      var imgUrl = "__ROOT__/Public/";
      var tree = new dTree('tree'),p = 4;
      var obj = {name:['法规类型','专业类型','行业类型','地区类型'],id:[1,2,3,4]};
      tree.add(0,-1,'<div id="divLTTree">类型分类</div>');
      for (var i = 0; i < 4; i++) {
        tree.add(obj.id[i],0,obj.name[i]);
      }
      if (treeCookie == 0){
        tree.o(1);
      }
      for (var i = 0; i < lawType.length; i++) {
        var l = lawType[i];
        tree.add(++p,1,l.Laytype_name,'__URL__/search/lawType_id/'+l.id);
      }
      for (var i in hzr) {
        var o = hzr[i];
        for (var j in o) {
          var l = o[j];
          var id1 = ++p;
          tree.add(id1,i*1+2,l.title,'__URL__/search/type/'+(i*1+1)+'/level/1/id/'+l.id);
          for (var k in l.downLine) {
            var d = l.downLine[k];
            var id2 = ++p;
            tree.add(id2,id1,d.title,'__URL__/search/type/'+(i*1+1)+'/level/2/id/'+d.id);
          }
        }
      }
      $("#divLeft").append(tree.toString());
      
    </script>
  </body>
</html>
